package com.changgou.service.goods.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.changgou.common.pojo.PageResult;
import com.changgou.goods.pojo.Brand;

import java.util.List;
import java.util.Map;

/**
 * @Author: Bytezero_zhengLei
 * @Date: 2024/8/26 9:10
 * @Project_Name: BrandService.java
 * @Email: 420498246@qq.com
 * @Description:
 * @TODO:  接口
 */

public interface BrandService extends IService<Brand> {
    List<Brand> search(Map<String, Object> searchMap);

    PageResult<Brand> findPage(Integer page, Integer size);

    PageResult<Brand> queryPage(Map<String, Object> searchMap, int page, int size);

    /**
     * 根据商品分类名称查询品牌列表
     * @param categoryName
     * @return
     */
    public List<Map> findListByCategoryName(String categoryName);



}
